package com.zgxt.demo.mapper;


import com.zgxt.demo.entity.UpdateLog;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface UpdateLogMapper {
    //更新日志
    List<UpdateLog> UpdateLogList();
    //添加日志
    Integer addUpdateLog(@Param("logTitle") String logTitle,@Param("logData") String logData,@Param("logVersion") String logVersion,@Param("logTime") String logTime);
    //删除日志
    Integer deletelog(@Param("ids") String[] ids,@Param("updateTime") String updateTime);
    //修改日志
    Integer updateLog(@Param("id") Integer id,@Param("logTitle") String logTitle,@Param("logData") String logData,@Param("logVersion") String logVersion,@Param("updateTime") String updateTime);
  }
